package com.lifeng.shop.lifengshop.mapper;

import com.lifeng.shop.lifengshop.pojo.entry.User;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {
    int deleteByPrimaryKey(String uid);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String uid);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User findByName(String name);
    String findPswByName(String UserName);
    void save(User user);

}